package com.yehaikeji.workflow.mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.yehaikeji.workflow.bean.CountBean;
import com.yehaikeji.workflow.bean.thing;

public interface thingMapper {
    int deleteByPrimaryKey(String thingid);

    int insert(thing record);

    int insertSelective(thing record);

    thing selectByPrimaryKey(String thingid);

    int updateByPrimaryKeySelective(thing record);

    int updateByPrimaryKey(thing record);
    
    List<thing> selectfiltratelist(Map<String, Object> map);
    
    List<thing> selectDownloadList(List<String> list);
    
    List<CountBean> selectCountByDate(Map<String,Object> paramMap);
    
    List<CountBean> selectCountByDateall(Map<String,Object> paramMap);
    
    List<thing> countselectlist(Map<String, Object> map);
}